From 7a28e997a6b674411c81526da09df90451dbc6f3 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Fri, 11 May 2007 18:44:51 +0000 Subject: [PATCH] Clarify that wgDBport is not for mysql, make explicit sections. --- config/index.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/config/index.php b/config/index.php index d036e8c849..6ed2b40907 100644 --- a/config/index.php +++ b/config/index.php @@ -1465,19 +1465,21 @@ if ( \$wgCommandLineMode ) { \$wgDBname = \"{$slconf['DBname']}\"; \$wgDBuser = \"{$slconf['DBuser']}\"; \$wgDBpassword = \"{$slconf['DBpassword']}\"; -\$wgDBport = \"{$slconf['DBport']}\"; + +# MySQL specific settings \$wgDBprefix = \"{$slconf['DBprefix']}\"; # MySQL table options to use during installation or update \$wgDBTableOptions = \"{$slconf['DBTableOptions']}\"; -# Schemas for Postgres -\$wgDBmwschema = \"{$slconf['DBmwschema']}\"; -\$wgDBts2schema = \"{$slconf['DBts2schema']}\"; - # Experimental charset support for MySQL 4.1/5.0. \$wgDBmysql5 = {$conf->DBmysql5}; +# Postgres specific settings +\$wgDBport = \"{$slconf['DBport']}\"; +\$wgDBmwschema = \"{$slconf['DBmwschema']}\"; +\$wgDBts2schema = \"{$slconf['DBts2schema']}\"; + ## Shared memory settings \$wgMainCacheType = $cacheType; \$wgMemCachedServers = $mcservers; -- 2.20.1